MPHB\Upgrader B

Total Complexity 91
Dependencies 14
Dependents 1
Total lines 958
Lines of code 516
Logical lines of code 257
Comment lines 176
Methods 47
Properties 7

Methods 47

Method Rating Maintainability Complexity Lines of code
fixGlobalRule()
S
50 7 28
fixForV2_2_0()
S
47 4 36
fixForV2_0_0()
S
48 4 35
fixForV4_2_0()
S
49 4 31
checkVersion()
S
62 5 11
upgrade()
S
54 4 21
addIndexesToSyncTablesSince_4_0_0()
S
58 4 15
updateDBVersion()
S
62 4 12
addMyAccountPage()
S
55 3 20
addBookingCancellationPage()
S
55 3 20
fixForV2_3_0()
S
58 3 16
getProgress()
S
59 3 14
createTableCustomers()
S
51 1 30
fixSessionOptions()
S
59 2 13
forceUpgrade()
S
62 2 12
createTableApiKeys()
S
56 1 20
fixForV1_1_0()
S
64 2 10
changeOptionName()
S
68 2 7
getCurrentDBVersion()
S
74 2 4
showUpgradeNotice()
S
74 2 5
setScheduledVersion()
S
69 2 7
fixForV4_4_0()
S
64 2 10
improveStats()
S
61 1 14
fixForV3_0_2()
S
61 1 13
moveSyncUrls()
S
62 1 13
__construct()
S
62 1 11
startAutodeleteOfSyncLogs()
S
82 1 3
getScheduledVersion()
S
79 1 3
complete()
S
73 1 5
getQueueSize()
S
80 1 3
setTotalQueueSize()
S
80 1 3
getTotalQueueSize()
S
79 1 3
upgradeAfterImport()
S
82 1 3
resetDBVersion()
S
81 1 3
blockNewBookings()
S
80 1 3
addDBVersionToHistory()
S
73 1 5
fixCleanOldRules()
S
68 1 8
hideUpgradeNotice()
S
82 1 3
flushRewriteRules()
S
77 1 4
fixForV3_0_0()
S
72 1 6
alterTableSyncLogs()
S
68 1 7
fixForV3_2_0()
S
73 1 5
stopSynchronization()
S
91 1 2
markImported()
S
82 1 3
createUploadsDir()
S
77 1 4
removeOutdatedStripeOptions()
S
70 1 7
fixForV4_5_0()
S
72 1 5